//
//  JuBase.swift
//  JuSwift
//
//  Created by Juvid on 2017/6/30.
//  Copyright © 2017年 Juvid. All rights reserved.
//

import UIKit

class JuBase: NSObject {
    
    var _tittle: String?
    var tittle: String{
        set{
            _tittle=newValue
        }
        get{
            return _tittle ?? "无值"
        }
    }


    public func JuBaseTest(){
         JuBase.juTest2()
    }
    class func juTest2()  {
        NSLog("类方法")
    }
//     init(_ first:NSString?) {
//      
//        NSLog(first! as String)
//    }
    
}
class JuTest: JuBase {
    
    public override func JuBaseTest(){
        JuBase.juTest2()
    }
    override class func juTest2()  {
        super.juTest2()
        NSLog("类方法")
    }
    
}


//拓展类
extension JuBase{
    var accessPrivate: String {
        NSLog("拓展")
        return "拓展"
    }
}
